home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 16522 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  841 b 

  1. Path: prodigy.com!usenet
  2. From: XKWR65B@prodigy.com (Mark Rubelmann)
  3. Newsgroups: comp.lang.c++
  4. Subject: Memory problems...
  5. Date: 11 Apr 1996 00:38:50 GMT
  6. Organization: Prodigy Services Company  1-800-PRODIGY
  7. Distribution: world
  8. Message-ID: <4khkaq$10mo@usenetw1.news.prodigy.com>
  9. NNTP-Posting-Host: innugap7-int.news.prodigy.com
  10. X-Newsreader: Version 1.2
  11.  
  12. I'm trying to use the "new" operator to allocate a 64000 byte array. When 
  13. I do this, it returns 0 meaning it failed.. I assume this is because DOS 
  14. can only use the first 64K of memory. In a book there was a program that 
  15. did the same thing but didn't have any memory problems. They used malloc 
  16. and I tried that too but it didn't work. How do I access more than 64K? 
  17. Do you have to use a DOS extender such as DOS4GW? I tried figuring out 
  18. how to go about doing that but I couldn't.
  19.  
  20.